//
//  GLDrawable.h
//  LMPhotoVideoSDK
//
//  Created by Aimar on 16/7/19.
//  Copyright © 2016年 魁钺会. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GLDrawableGroup.h"
#import "GLAnimation.h"
#import "GLSurface.h"
#import "GLShader.h"
#import "GLCanvas.h"

@interface GLDrawable : NSObject<GLDrawableGroup>

@property (nonatomic, assign)vec3               position;

@property (nonatomic, assign)float              scale;

@property (nonatomic, assign)float              angle;

@property (nonatomic, strong)id<GLSurface>      surface;

@property (nonatomic, strong)GLShader*          shader;

@property (nonatomic, assign)vec2               size;

@property (nonatomic, strong)GLAnimation*       animation;

- (void)onDraw:(GLCanvas*)canvas;

- (void)draw:(GLCanvas*)canvas;

@end
